package com.tmsps.common.config;

import com.tmsps.common.filter.JFilterResponseBodyAdvice;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName JFilterResponseBodyAdviceAutoConfiguration
 * @description TODO
 * @author geek
 * @date 2020年07月01日 10:23
 */
@Configuration
public class JFilterResponseBodyAdviceAutoConfiguration {

    @Bean
    @ConditionalOnMissingBean(value = JFilterResponseBodyAdvice.class)
    public JFilterResponseBodyAdvice jFilterResponseBodyAdvice(){
        return new JFilterResponseBodyAdvice();
    }
}
